#ifndef CMD_SELL
#define CMD_SELL

#include <string>
#include <iostream>
#include <cstdlib>
#include <list>
#include "../../sqlite3/sqlite3.h"
#include "../../persistence.h"
#include "../../domain.h"
#include "./sell.h"
#include "../photo/photo.h"

using namespace std;


/**SERVE A CONTROLADORA DE VENDAS RECEBENDO UM OBJETO E MONTANDO  AS QUERYS
*/
class cmd_Request : public Commando
{
        Request * request;
        Album * album;
        int cmd;
    public:
        cmd_Request();
        cmd_Request(Request *);
        string query();

        void setRequest(Request *);
        Request * getRequest();

         void setAlbum(Album *);
         Album * getAlbum();

        void setCmd(int);
        static const int CADASTRAR = 0;
        static const int ALTERAR_STATUS = 1;
        static const int PESQUISAR = 2;
        static const int SELECTALBUM = 3;
        static const int CRIABANCO = 4;
        static const int CHECKPENDENCIAS = 5;
        static const int PESQUISAR_ALTERAR = 6;
};


#endif // CMD_SELL
